package com.yzc.mihuyou.service;

import com.yzc.mihuyou.entity.PageWuer;
import com.yzc.mihuyou.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yzc.mihuyou.vo.JsonResult;

import java.util.Map;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author 易紫诚
 * @since 2022-04-28
 */
public interface UserService extends IService<User> {
    User LoginUser(String name,String password);
    JsonResult addUser(User user);
    Map<String,Object> selUser(Long id);
    User cuw(Long uid);
    JsonResult upUser(User user);//修改用户            ---郭
    JsonResult getUser(long id);//id查询用户            ---郭
    JsonResult likeUser(String str, PageWuer pageWuer);//模糊查询用户       ---郭
    long getUserNum(long id);
}
